clear
clc

load avgcurve.mat

figure
plot(maturities,curve_98_07,'k.','LineWidth',3)
ylim([-1 3])
xlim([3 25])
xlabel('Maturity (years)')
ylabel('Yield')
hold on;
plot(maturities, curve_08_13,'k','LineWidth',2)
plot(maturities, curve_98_13,'k--','LineWidth',1)
legend('Real yield curve, 1998-2007','Real yield curve, 2008-2013','Real yield curve, 1998-2013')

set(gca,'fontname','Times New Roman','fontSize',18);
set(gcf, 'units', 'inches', 'position', [2 2 12 7])
set(gcf, 'Color', 'w');
save2pdf('ukgilts');
close

